<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>背景色</title>
</head>
<body>

<script src="https://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="https://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="https://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>

<ul>
<li><p class="bg-primary">强调的背景</p></li>

<li><p class="bg-success">成功操作文字的背景</p></li>

<li><p class="bg-info">信息提示文字的背景</p></li>

<li><p class="bg-warning">警告提示文字的背景</p></li>

<li><p class="bg-danger">危险提示文字的背景</p></li>
</ul>
</body>
</html>